L​oops are structures used to automate repetitive tasks. A certain section in the flowchart may be required to perform repetitive tasks, and hence, loops can be used inside the flowcharts. In flowcharts, the simplest loops can be created by connecting a certain point in the workflow to an earlier execution and repeating the task until the specified condition is met. The diagram below shows a loop in a flowchart.

In the above diagram, there is a flowchart that is processing a data input. After the data input, a flow decision checks whether the input is valid. If it's valid or true, then the data is sent for processing. If the data is invalid or false, the process ends. The processing of this flowchart is connected through nodes.

Notice the node coming back to the data input from the transaction processing, which means that the control will be sent back to the data input every time the transaction is processed that creates a loop until this process ends. Similar nodes can be used in flowcharts to create loops by connecting different sequences through nodes.